local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1, L39_1, L40_1, L41_1, L42_1
L0_1 = {}
L0_1.group_id = 133008298
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 298001
L2_1.gadget_id = 70690010
L3_1 = {}
L3_1.x = 1109.564
L3_1.y = 343.594
L3_1.z = -1085.817
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L2_1.area_id = 10
L3_1 = {}
L3_1.config_id = 298002
L3_1.gadget_id = 70690001
L4_1 = {}
L4_1.x = 1096.311
L4_1.y = 430.212
L4_1.z = -1089.881
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 265.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 298003
L4_1.gadget_id = 70690001
L5_1 = {}
L5_1.x = 1083.799
L5_1.y = 430.212
L5_1.z = -1089.881
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 356.668
L5_1.y = 265.0
L5_1.z = 332.342
L4_1.rot = L5_1
L4_1.level = 32
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 298004
L5_1.gadget_id = 70690001
L6_1 = {}
L6_1.x = 1070.258
L6_1.y = 430.212
L6_1.z = -1089.89
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 265.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 298005
L6_1.gadget_id = 70690001
L7_1 = {}
L7_1.x = 1061.643
L7_1.y = 430.212
L7_1.z = -1089.89
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 265.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 32
L6_1.area_id = 10
L7_1 = {}
L7_1.config_id = 298006
L7_1.gadget_id = 70690001
L8_1 = {}
L8_1.x = 1044.961
L8_1.y = 430.212
L8_1.z = -1089.647
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 265.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L7_1.area_id = 10
L8_1 = {}
L8_1.config_id = 298007
L8_1.gadget_id = 70690001
L9_1 = {}
L9_1.x = 1031.174
L9_1.y = 430.212
L9_1.z = -1089.643
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 265.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L8_1.area_id = 10
L9_1 = {}
L9_1.config_id = 298008
L9_1.gadget_id = 70690001
L10_1 = {}
L10_1.x = 1014.632
L10_1.y = 430.212
L10_1.z = -1089.65
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 265.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 32
L9_1.area_id = 10
L10_1 = {}
L10_1.config_id = 298009
L10_1.gadget_id = 70690001
L11_1 = {}
L11_1.x = 1004.007
L11_1.y = 430.212
L11_1.z = -1089.649
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 265.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 32
L10_1.area_id = 10
L11_1 = {}
L11_1.config_id = 298010
L11_1.gadget_id = 70690001
L12_1 = {}
L12_1.x = 997.145
L12_1.y = 430.212
L12_1.z = -1089.651
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 280.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 32
L11_1.area_id = 10
L12_1 = {}
L12_1.config_id = 298011
L12_1.gadget_id = 70690001
L13_1 = {}
L13_1.x = 991.398
L13_1.y = 430.212
L13_1.z = -1088.309
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 300.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 32
L12_1.area_id = 10
L13_1 = {}
L13_1.config_id = 298012
L13_1.gadget_id = 70690001
L14_1 = {}
L14_1.x = 985.818
L14_1.y = 430.212
L14_1.z = -1085.037
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 300.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 32
L13_1.area_id = 10
L14_1 = {}
L14_1.config_id = 298013
L14_1.gadget_id = 70690001
L15_1 = {}
L15_1.x = 975.831
L15_1.y = 430.212
L15_1.z = -1077.322
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 310.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 32
L14_1.area_id = 10
L15_1 = {}
L15_1.config_id = 298014
L15_1.gadget_id = 70690001
L16_1 = {}
L16_1.x = 937.229
L16_1.y = 444.0
L16_1.z = -1062.742
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 290.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 32
L15_1.area_id = 10
L16_1 = {}
L16_1.config_id = 298015
L16_1.gadget_id = 70690011
L17_1 = {}
L17_1.x = 952.94
L17_1.y = 420.0
L17_1.z = -1058.172
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 32
L16_1.area_id = 10
L17_1 = {}
L17_1.config_id = 298016
L17_1.gadget_id = 70690001
L18_1 = {}
L18_1.x = 927.391
L18_1.y = 444.0
L18_1.z = -1058.384
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 314.721
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 32
L17_1.area_id = 10
L18_1 = {}
L18_1.config_id = 298017
L18_1.gadget_id = 70690001
L19_1 = {}
L19_1.x = 920.807
L19_1.y = 444.0
L19_1.z = -1049.673
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 341.688
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 32
L18_1.area_id = 10
L19_1 = {}
L19_1.config_id = 298018
L19_1.gadget_id = 70690001
L20_1 = {}
L20_1.x = 916.412
L20_1.y = 444.0
L20_1.z = -1037.943
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 25.0
L20_1.y = 306.463
L20_1.z = 14.279
L19_1.rot = L20_1
L19_1.level = 32
L19_1.area_id = 10
L20_1 = {}
L20_1.config_id = 298019
L20_1.gadget_id = 70690001
L21_1 = {}
L21_1.x = 912.236
L21_1.y = 442.034
L21_1.z = -1034.019
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 25.0
L21_1.y = 304.987
L21_1.z = 14.279
L20_1.rot = L21_1
L20_1.level = 32
L20_1.area_id = 10
L21_1 = {}
L21_1.config_id = 298020
L21_1.gadget_id = 70690001
L22_1 = {}
L22_1.x = 906.629
L22_1.y = 439.144
L22_1.z = -1029.895
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 25.0
L22_1.y = 304.987
L22_1.z = 14.279
L21_1.rot = L22_1
L21_1.level = 32
L21_1.area_id = 10
L22_1 = {}
L22_1.config_id = 298021
L22_1.gadget_id = 70690001
L23_1 = {}
L23_1.x = 901.627
L23_1.y = 436.938
L23_1.z = -1025.874
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 25.0
L23_1.y = 304.987
L23_1.z = 14.279
L22_1.rot = L23_1
L22_1.level = 32
L22_1.area_id = 10
L23_1 = {}
L23_1.config_id = 298022
L23_1.gadget_id = 70690001
L24_1 = {}
L24_1.x = 894.015
L24_1.y = 432.796
L24_1.z = -1020.359
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 5.0
L24_1.y = 304.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 32
L23_1.area_id = 10
L24_1 = {}
L24_1.config_id = 298023
L24_1.gadget_id = 70690001
L25_1 = {}
L25_1.x = 887.743
L25_1.y = 431.541
L25_1.z = -1015.846
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 5.0
L25_1.y = 304.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 32
L24_1.area_id = 10
L25_1 = {}
L25_1.config_id = 298024
L25_1.gadget_id = 70690001
L26_1 = {}
L26_1.x = 880.406
L26_1.y = 430.931
L26_1.z = -1010.813
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 25.0
L26_1.y = 304.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 32
L25_1.area_id = 10
L26_1 = {}
L26_1.config_id = 298025
L26_1.gadget_id = 70690001
L27_1 = {}
L27_1.x = 864.644
L27_1.y = 422.346
L27_1.z = -997.937
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 10.0
L27_1.y = 327.075
L27_1.z = 7.951
L26_1.rot = L27_1
L26_1.level = 32
L26_1.area_id = 10
L27_1 = {}
L27_1.config_id = 298026
L27_1.gadget_id = 70690001
L28_1 = {}
L28_1.x = 859.376
L28_1.y = 420.273
L28_1.z = -991.625
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 20.0
L28_1.y = 327.0
L28_1.z = 7.951
L27_1.rot = L28_1
L27_1.level = 32
L27_1.area_id = 10
L28_1 = {}
L28_1.config_id = 298027
L28_1.gadget_id = 70690001
L29_1 = {}
L29_1.x = 854.08
L29_1.y = 417.642
L29_1.z = -983.797
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 30.0
L29_1.y = 327.0
L29_1.z = 7.951
L28_1.rot = L29_1
L28_1.level = 32
L28_1.area_id = 10
L29_1 = {}
L29_1.config_id = 298028
L29_1.gadget_id = 70690001
L30_1 = {}
L30_1.x = 848.962
L30_1.y = 413.717
L30_1.z = -975.6
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 35.0
L30_1.y = 327.0
L30_1.z = 7.951
L29_1.rot = L30_1
L29_1.level = 32
L29_1.area_id = 10
L30_1 = {}
L30_1.config_id = 298029
L30_1.gadget_id = 70690001
L31_1 = {}
L31_1.x = 841.151
L31_1.y = 407.933
L31_1.z = -965.296
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 45.0
L31_1.y = 327.0
L31_1.z = 7.951
L30_1.rot = L31_1
L30_1.level = 32
L30_1.area_id = 10
L31_1 = {}
L31_1.config_id = 298030
L31_1.gadget_id = 70690001
L32_1 = {}
L32_1.x = 834.366
L32_1.y = 398.82
L32_1.z = -955.614
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 45.0
L32_1.y = 327.0
L32_1.z = 7.951
L31_1.rot = L32_1
L31_1.level = 32
L31_1.area_id = 10
L32_1 = {}
L32_1.config_id = 298031
L32_1.gadget_id = 70690001
L33_1 = {}
L33_1.x = 828.049
L33_1.y = 389.952
L33_1.z = -946.284
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 60.0
L33_1.y = 327.0
L33_1.z = 7.951
L32_1.rot = L33_1
L32_1.level = 32
L32_1.area_id = 10
L33_1 = {}
L33_1.config_id = 298032
L33_1.gadget_id = 70690001
L34_1 = {}
L34_1.x = 824.927
L34_1.y = 358.802
L34_1.z = -937.494
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 89.98
L34_1.y = 317.334
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 32
L33_1.area_id = 10
L34_1 = {}
L34_1.config_id = 298033
L34_1.gadget_id = 70690001
L35_1 = {}
L35_1.x = 824.927
L35_1.y = 349.962
L35_1.z = -937.494
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 90.0
L35_1.y = 317.334
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 32
L34_1.area_id = 10
L35_1 = {}
L35_1.config_id = 298034
L35_1.gadget_id = 70690001
L36_1 = {}
L36_1.x = 824.927
L36_1.y = 335.193
L36_1.z = -937.494
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 89.98
L36_1.y = 317.334
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 32
L35_1.area_id = 10
L36_1 = {}
L36_1.config_id = 298035
L36_1.gadget_id = 70690001
L37_1 = {}
L37_1.x = 824.927
L37_1.y = 324.256
L37_1.z = -937.494
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 90.0
L37_1.y = 317.334
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 32
L36_1.area_id = 10
L37_1 = {}
L37_1.config_id = 298036
L37_1.gadget_id = 70690001
L38_1 = {}
L38_1.x = 824.927
L38_1.y = 314.697
L38_1.z = -937.494
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 89.98
L38_1.y = 317.334
L38_1.z = 0.0
L37_1.rot = L38_1
L37_1.level = 32
L37_1.area_id = 10
L38_1 = {}
L38_1.config_id = 298037
L38_1.gadget_id = 70690001
L39_1 = {}
L39_1.x = 824.927
L39_1.y = 304.36
L39_1.z = -937.494
L38_1.pos = L39_1
L39_1 = {}
L39_1.x = 90.0
L39_1.y = 317.334
L39_1.z = 0.0
L38_1.rot = L39_1
L38_1.level = 32
L38_1.area_id = 10
L39_1 = {}
L39_1.config_id = 298038
L39_1.gadget_id = 70220011
L40_1 = {}
L40_1.x = 1110.587
L40_1.y = 343.789
L40_1.z = -1086.556
L39_1.pos = L40_1
L40_1 = {}
L40_1.x = 0.0
L40_1.y = 0.0
L40_1.z = 0.0
L39_1.rot = L40_1
L39_1.level = 32
L39_1.area_id = 10
L40_1 = {}
L40_1.config_id = 298045
L40_1.gadget_id = 70360025
L41_1 = {}
L41_1.x = 823.985
L41_1.y = 290.701
L41_1.z = -933.974
L40_1.pos = L41_1
L41_1 = {}
L41_1.x = 0.0
L41_1.y = 0.0
L41_1.z = 0.0
L40_1.rot = L41_1
L40_1.level = 1
L40_1.area_id = 10
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
L1_1[30] = L31_1
L1_1[31] = L32_1
L1_1[32] = L33_1
L1_1[33] = L34_1
L1_1[34] = L35_1
L1_1[35] = L36_1
L1_1[36] = L37_1
L1_1[37] = L38_1
L1_1[38] = L39_1
L1_1[39] = L40_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 298039
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 25
L3_1 = {}
L3_1.x = 888.138
L3_1.y = 290.623
L3_1.z = -985.727
L2_1.pos = L3_1
L2_1.area_id = 10
L3_1 = {}
L3_1.config_id = 298041
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 3
L4_1 = {}
L4_1.x = 823.985
L4_1.y = 290.701
L4_1.z = -933.974
L3_1.pos = L4_1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 298044
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 30
L5_1 = {}
L5_1.x = 824.927
L5_1.y = 306.579
L5_1.z = -937.494
L4_1.pos = L5_1
L4_1.area_id = 10
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1298039
L2_1.name = "ENTER_REGION_298039"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_298039"
L2_1.action = "action_EVENT_ENTER_REGION_298039"
L3_1 = {}
L3_1.config_id = 1298040
L3_1.name = "ANY_GADGET_DIE_298040"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = ""
L3_1.action = "action_EVENT_ANY_GADGET_DIE_298040"
L4_1 = {}
L4_1.config_id = 1298041
L4_1.name = "ENTER_REGION_298041"
L5_1 = EventType
L5_1 = L5_1.EVENT_ENTER_REGION
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ENTER_REGION_298041"
L4_1.action = "action_EVENT_ENTER_REGION_298041"
L4_1.tag = "8888"
L5_1 = {}
L5_1.config_id = 1298042
L5_1.name = "CHALLENGE_SUCCESS_298042"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_SUCCESS
L5_1.event = L6_1
L5_1.source = "6666"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_SUCCESS_298042"
L6_1 = {}
L6_1.config_id = 1298043
L6_1.name = "CHALLENGE_FAIL_298043"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_FAIL
L6_1.event = L7_1
L6_1.source = "6666"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_FAIL_298043"
L7_1 = {}
L7_1.config_id = 1298044
L7_1.name = "ENTER_REGION_298044"
L8_1 = EventType
L8_1 = L8_1.EVENT_ENTER_REGION
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ENTER_REGION_298044"
L7_1.action = "action_EVENT_ENTER_REGION_298044"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 298046
L3_1.name = "GADGET_CREATE_298046"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_CREATE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_CREATE_298046"
L3_1.action = ""
L2_1[1] = L3_1
L1_1.triggers = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 298038
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 298039
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_298039"
L5_1 = "ANY_GADGET_DIE_298040"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 298001
L6_1 = 298002
L7_1 = 298003
L8_1 = 298004
L9_1 = 298005
L10_1 = 298006
L11_1 = 298007
L12_1 = 298008
L13_1 = 298009
L14_1 = 298010
L15_1 = 298011
L16_1 = 298012
L17_1 = 298013
L18_1 = 298014
L19_1 = 298015
L20_1 = 298016
L21_1 = 298017
L22_1 = 298018
L23_1 = 298019
L24_1 = 298020
L25_1 = 298021
L26_1 = 298022
L27_1 = 298023
L28_1 = 298024
L29_1 = 298025
L30_1 = 298026
L31_1 = 298027
L32_1 = 298028
L33_1 = 298029
L34_1 = 298030
L35_1 = 298031
L36_1 = 298032
L37_1 = 298033
L38_1 = 298034
L39_1 = 298035
L40_1 = 298036
L41_1 = 298037
L42_1 = 298045
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L4_1[20] = L24_1
L4_1[21] = L25_1
L4_1[22] = L26_1
L4_1[23] = L27_1
L4_1[24] = L28_1
L4_1[25] = L29_1
L4_1[26] = L30_1
L4_1[27] = L31_1
L4_1[28] = L32_1
L4_1[29] = L33_1
L4_1[30] = L34_1
L4_1[31] = L35_1
L4_1[32] = L36_1
L4_1[33] = L37_1
L4_1[34] = L38_1
L4_1[35] = L39_1
L4_1[36] = L40_1
L4_1[37] = L41_1
L4_1[38] = L42_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 298041
L6_1 = 298044
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_298041"
L6_1 = "CHALLENGE_SUCCESS_298042"
L7_1 = "CHALLENGE_FAIL_298043"
L8_1 = "ENTER_REGION_298044"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 298039 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_298039 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "4121219"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_298039 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 6666
  L5_2 = 184
  L6_2 = 90
  L7_2 = 4
  L8_2 = 8888
  L9_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : active_challenge"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "4121213"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 133008298
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_298040 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 298041 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_298041 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.StopChallenge
  L3_2 = A0_2
  L4_2 = 6666
  L5_2 = 1
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveEntityByConfigId
  L3_2 = A0_2
  L4_2 = 133008298
  L5_2 = EntityType
  L5_2 = L5_2.GADGET
  L6_2 = 298045
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_298041 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "4121211"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_298042 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "4121299"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 133008298
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_FAIL_298043 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 298044 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_298044 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "4121212"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_298044 = L1_1
